<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="renderer" content="webkit">
    <link rel="stylesheet" href="../public/layui/css/layui.css"/>
    <link rel="stylesheet" href="../public/css/basic.css"/>
    <link rel="stylesheet" href="../public/css/manage.css"/>
    <script src="../public/js/jquery-1.11.1.min.js"></script>
    <title>库存管理</title>
    <style>
        .layui-form-label{}
        .ml30{margin-left: 30px}
    </style>
</head>
<body >
<div class="layui-form">
    <table class="layui-table">
        <div class="search">
            <div class="layui-inline ">
                <div class="layui-input-inline" >
                    <input type="text" class="layui-input" placeholder="请输入关键字" >
                </div>
            </div>

            <button  class="layui-btn ml20 ">搜索</button>
            <div class="layui-btn add fr ">新增</div>

        </div>
        <thead>
        <tr>
            <th>物料编码</th>
            <th>品牌</th>
            <th>品类</th>
            <th>物料名称</th>
            <th>批次</th>
            <th>单位</th>
            <th>操作</th>
        </tr>
        </thead>
        <tbody>
        <tr>
            <td>20180124338</td>
            <td>苗强壮</td>
            <td>化肥</td>
            <td>金坷垃</td>
            <td>12</td>
            <td>kg</td>
            <td>
                <span class="cz bj">编辑</span>
                <span class="cz sc">删除</span>
            </td>
        </tr>

        </tbody>
    </table>
    <div class="fy">这里放分页</div>
</div>
<script src="../public/layui/layui.js"></script>
<script>
    layui.use(['form',], function() {
        var form = layui.form;

    })
    $(".add").click(function () {
        layer.open({
            type: 2,
            shadeClose: true,
            title: '添加',
            area: ['90%', '550px'],
            content: 'manage12-pop1.html'
        });

    });
    $(".bj").click(function () {
        layer.open({
            type: 2,
            shadeClose: true,
            title: '编辑',
            area: ['90%', '550px'],
            content: 'manage12-pop1.html'
        });

    });
    $(".sc").click(function () {
        layer.confirm('确认删除？', {
            btn: ['是','否'] //按钮
        });


    });


</script>

</body>
</html>